import openpyxl

wb = openpyxl.load_workbook(r"F:\my_profile\study\code_pub\study_code_pub\python表格\index.xlsx")
ws = wb.active
print(ws["A1"])
print(ws["A1"].value)